package com.ruoyi.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 意见对象 opinion
 * 
 * @author ruoyi
 * @date 2025-03-18
 */
public class Opinion extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 意见ID */
    private Long opinionId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 意见状态 */
    @Excel(name = "意见状态")
    private Long opinionState;

    /** 意见内容 */
    @Excel(name = "意见内容")
    private String opinionContent;

    /** 意见时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "意见时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date opinionTime;

    /** 备1 */
    @Excel(name = "备1")
    private String opinion1;

    /** 备2 */
    @Excel(name = "备2")
    private String opinion2;

    /** 备3 */
    @Excel(name = "备3")
    private String opinion3;

    public void setOpinionId(Long opinionId) 
    {
        this.opinionId = opinionId;
    }

    public Long getOpinionId() 
    {
        return opinionId;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    public void setOpinionState(Long opinionState) 
    {
        this.opinionState = opinionState;
    }

    public Long getOpinionState() 
    {
        return opinionState;
    }

    public void setOpinionContent(String opinionContent) 
    {
        this.opinionContent = opinionContent;
    }

    public String getOpinionContent() 
    {
        return opinionContent;
    }

    public void setOpinionTime(Date opinionTime) 
    {
        this.opinionTime = opinionTime;
    }

    public Date getOpinionTime() 
    {
        return opinionTime;
    }

    public void setOpinion1(String opinion1) 
    {
        this.opinion1 = opinion1;
    }

    public String getOpinion1() 
    {
        return opinion1;
    }

    public void setOpinion2(String opinion2) 
    {
        this.opinion2 = opinion2;
    }

    public String getOpinion2() 
    {
        return opinion2;
    }

    public void setOpinion3(String opinion3) 
    {
        this.opinion3 = opinion3;
    }

    public String getOpinion3() 
    {
        return opinion3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("opinionId", getOpinionId())
            .append("userId", getUserId())
            .append("opinionState", getOpinionState())
            .append("opinionContent", getOpinionContent())
            .append("opinionTime", getOpinionTime())
            .append("opinion1", getOpinion1())
            .append("opinion2", getOpinion2())
            .append("opinion3", getOpinion3())
            .toString();
    }
}
